package com.wyh.domain.dto.groupOne.resource;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@ApiModel("资源拆分相关DTO")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResourceSplitDTO {
    @ApiModelProperty(name = "拆分资源id",value = "当前拆分资源的id,用来查询当前资源",required = true)
    @NotNull
    private Integer id;
    @ApiModelProperty(value = "新资源编号",required = true)
    @NotNull
    private String resourceNumber;
    @ApiModelProperty(value = "资源名称",required = true)
    @NotNull
    private String resourceName;
    @ApiModelProperty(value = "拆分建筑面积",required = true)
    @NotNull
    private double buildingArea;
    @ApiModelProperty(value = "拆分套内面积",required = true)
    @NotNull
    private double insideArea;
}
